package com.example.springboot.services;

import com.example.springboot.domain.DbBackup;
import com.example.springboot.domain.PageBean;

import java.util.List;

public interface DBService {

    public PageBean<DbBackup> searchRecord(Integer page, Integer pageSize, String  name, Integer type, String createTime);

    public List<String> queryRecordByIdList(List<Integer> idList) ;

    public Boolean databasebackup(List<String> list) throws InterruptedException;

    public List<String> queryTables();

    public Boolean removeFile(List<Integer> idList);

    public Boolean rollBack(String id);
}
